{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}FastApp - 创建应用{% endblock %}

{% block page_content %}
<div class="page-header"> 
    <h1>创建一个新应用</h1>
</div>
<div class="col-md-4">
	<form role="form" method="post" action="/addApp">
		<div class="form-group">
			<label for="name">填写应用名称</label>
			<input type="text" class="form-control" placeholder="请输入商品名" name="app_name">
			<input type="hidden" class="form-control" name="u_id" value={{ u_id }}>
		</div>
		<div class="form-group">
			<label for="name">填写应用图片url</label>
			<input type="text" class="form-control" placeholder="请输入商品url" name="app_image_url">
		</div>
		 <div class="form-group">
    		<label for="name">选择应用类型</label>
    		<select class="form-control" name='tokenValue'>
      			<option value='1'>商城型</option>
      			<option value='0'>信息型</option>
    		</select>
  		</div>
		<button type="submit" class="btn btn-primary btn-margin">确认提交</button>
	</form>
</div>
{% endblock %}